package pojo;

import com.alibaba.excel.annotation.ExcelProperty;

public class Student {
    @ExcelProperty(value = "姓名", index = 0)
    private String name;

    @ExcelProperty(value = "", index = 1)
    private int age;

    @ExcelProperty(value = "性别", index = 2)
    private String gender;

    @ExcelProperty(value = "班级", index = 3)
    private String classname;

    public Student() {
    }

    public Student(String name, int age, String gender, String classname) {
        this.name = name;
        this.age = age;
        this.gender = gender;
        this.classname = classname;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getClassname() {
        return classname;
    }

    public void setClassname(String classname) {
        this.classname = classname;
    }

    @Override
    public String toString() {
        return "Student{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", gender='" + gender + '\'' +
                ", classname='" + classname + '\'' +
                '}';
    }
}
